package com.chg.mymvc.dao;

import com.chg.mymvc.entity.User;

import java.util.List;

public interface UserDao {
public void delUser(int id);
public void updateUser(User user);
public List<User> queryAll(int page, int pagesize);
public User getUserByName(String name);
public User getUsersByName(String name);
public int addUser(User user);
public User selecUsertById(int id);
public int allcount();
}
